<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="generator" content="smart-doc">
    <title>Error Code</title>
    <link rel="stylesheet" href="font.css">
    <link rel="stylesheet" href="AllInOne.css?v=1757665968787"/>
    
    <style>.literalblock pre, .listingblock pre:not(.highlight), .listingblock pre[class="highlight"], .listingblock pre[class^="highlight "], .listingblock pre.CodeRay, .listingblock pre.prettyprint {
        background: #f7f7f8
    }

    .hljs {
        padding: 0em
    }</style>
    <script src="highlight.min.js"></script>
    <script src="jquery.min.js"></script>
</head>
<body class="book toc2 toc-left">
<div id="header"><h1>jt-media-server</h1>
    <div id="toc" class="toc2">
        <div id="book-search-input"><input id="search" type="text" placeholder="Type to search"></div>
        <div id="toctitle"><span>API Reference</span></div>
        <ul id="accordion" class="sectlevel1">
            <li><a class="dd" href="api.html#header">1.&nbsp;WebRtc信令模块</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="api.html#_1_1_webrtc sdp协议交互">1.1.&nbsp;webrtc sdp协议交互</a>
                    </li>

                    <li><a
                            href="api.html#_1_2_推流sdp交互">1.2.&nbsp;推流sdp交互</a>
                    </li>

                    <li><a
                            href="api.html#_1_3_拉流sdp交互">1.3.&nbsp;拉流sdp交互</a>
                    </li>

                    <li><a
                            href="api.html#_1_4_删除webrtc
要显式终止会话，WHEP 播放器必须对初始HTTP POST的Location头字段中返回的资源URL执行HTTP DELETE请求。收到HTTP DELETE请求后，WHEP资源将被删除，并在媒体服务器上释放资源">1.4.&nbsp;删除webrtc<br>要显式终止会话，WHEP 播放器必须对初始HTTP POST的Location头字段中返回的资源URL执行HTTP DELETE请求。收到HTTP DELETE请求后，WHEP资源将被删除，并在媒体服务器上释放资源</a>
                    </li>
                </ul>
            </li>
            <li><a class="dd" href="TranscodeController.html#header">2.&nbsp;转码</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="TranscodeController.html#_2_1_转码 默认H265转H264 支持分辨率调整 暂时只支持视频转码，音频因为各种封装格式对编码格式、音频参数等转换规则复杂暂时不支持">2.1.&nbsp;转码 默认H265转H264 支持分辨率调整 暂时只支持视频转码，音频因为各种封装格式对编码格式、音频参数等转换规则复杂暂时不支持</a>
                    </li>
                </ul>
            </li>
            <li><a class="dd" href="SnapController.html#header">3.&nbsp;截图接口</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="SnapController.html#_3_1_获取截图">3.1.&nbsp;获取截图</a>
                    </li>
                </ul>
            </li>
            <li><a class="dd" href="ApiController.html#header">4.&nbsp;流媒体Api</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="ApiController.html#_4_1_添加rtmp/rtsp拉流代理">4.1.&nbsp;添加rtmp/rtsp拉流代理</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_2_关闭拉流代理">4.2.&nbsp;关闭拉流代理</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_3_添加rtmp/rtsp推流代理">4.3.&nbsp;添加rtmp/rtsp推流代理</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_4_删除rtmp/rtsp推流代理">4.4.&nbsp;删除rtmp/rtsp推流代理</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_5_关闭流">4.5.&nbsp;关闭流</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_6_关闭流(批量关)">4.6.&nbsp;关闭流(批量关)</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_7_获取流列表">4.7.&nbsp;获取流列表</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_8_获取流信息">4.8.&nbsp;获取流信息</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_9_流是否在线">4.9.&nbsp;流是否在线</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_10_开始录像">4.10.&nbsp;开始录像</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_11_停止录像">4.11.&nbsp;停止录像</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_12_是否录像">4.12.&nbsp;是否录像</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_13_获取内存资源信息">4.13.&nbsp;获取内存资源信息</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_14_获取服务器配置">4.14.&nbsp;获取服务器配置</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_15_重启流媒体服务">4.15.&nbsp;重启流媒体服务</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_16_设置服务器配置">4.16.&nbsp;设置服务器配置</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_17_开启rtp服务">4.17.&nbsp;开启rtp服务</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_18_关闭rtp服务">4.18.&nbsp;关闭rtp服务</a>
                    </li>

                    <li><a
                            href="ApiController.html#_4_19_获取所有RTP服务器">4.19.&nbsp;获取所有RTP服务器</a>
                    </li>
                </ul>
            </li>
            <li><a class="dd" href="StackController.html#header">5.&nbsp;拼接屏控制类</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="StackController.html#_5_1_开启拼接屏">5.1.&nbsp;开启拼接屏</a>
                    </li>

                    <li><a
                            href="StackController.html#_5_2_重新设置拼接屏">5.2.&nbsp;重新设置拼接屏</a>
                    </li>

                    <li><a
                            href="StackController.html#_5_3_关闭拼接屏">5.3.&nbsp;关闭拼接屏</a>
                    </li>
                </ul>
            </li>
            <li><a class="dd" href="TestController.html#header">6.&nbsp;测试接口</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="TestController.html#_6_1_生成一路测试视频流">6.1.&nbsp;生成一路测试视频流</a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</div>
<div id="content">    <footer class="page-footer"><span class="copyright">Generated by smart-doc at 2025-09-12 16:32:48</span><span
            class="footer-modification">Suggestions,contact,support and error reporting on<a
            href="https://gitee.com/smart-doc-team/smart-doc" target="_blank">&nbsp;Gitee</a>&nbsp;or<a
            href="https://github.com/smart-doc-group/smart-doc.git" target="_blank">&nbsp;Github</a></span></footer>
</div>
<script src="search.js?v=1757665968787"></script>
<script>
    $(function () {
        const Accordion = function (el, multiple) {
            this.el = el || {};
            this.multiple = multiple || false;
            const links = this.el.find('.dd');
            links.on('click', {el: this.el, multiple: this.multiple}, this.dropdown);
        };
        Accordion.prototype.dropdown = function (e) {
            const $el = e.data.el;
            const $this = $(this), $next = $this.next();
            $next.slideToggle();
            $this.parent().toggleClass('open');
            if (!e.data.multiple) {
                $el.find('.submenu').not($next).slideUp("20").parent().removeClass('open');
            }
        };
        new Accordion($('#accordion'), false);
        hljs.highlightAll()
    });
</script>
</body>
</html>
